<extend name="Public/base" />
<block name="content">
<form action="<{:U('doAddMenu')}>" method="post">
    <table >
        <thead>
        <tr>
            <th>菜单名称</th>
            <th>菜单路径</th>
            <!--<th>上级菜单</th>
           th>分组</th>
           <th>排序</th>
           <th>打开方式</th>
           <th>锁定</th>-->
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
            <tr>
                <td><input name="mname" type="text"></td>
                <td><input name="url" type="text" ></td>
               <!--<td>
                    <select name="up" >
                        <option value="0">顶级菜单</option>
                        <foreach name="navs" item="v">
                            <option value="<{$v.up}>"><{$v.mname}></option>
                        </foreach>
                    </select>
                </td>-->
                <!-- <td><input name="mgroup"  style="width:4em;" type="text" "></td>
                <td><input name="msort" style="width:4em;" type="text" ></td>
               <td>
                    <div class="switch tiny">
                        <input  value="<{$v.menu_id}>" id="target_<{$v.menu_id}>" type="checkbox"  <{$v['target']?'checked':''}>>
                        <label for="target_<{$v.menu_id}>"></label>
                    </div>
                </td>

                <td>
                    <div class="switch tiny">
                        <input  value="<{$v.menu_id}>" id="lock_<{$v.menu_id}>" type="checkbox"  <{$v['lock']?'checked':''}>>
                        <label for="lock_<{$v.menu_id}>"></label>
                    </div>
                </td>-->
                <td>
                    <button  class="button tiny save">保存</button>
                </td>
            </tr>
        </tbody>
    </table>

</form>
</block>
</body>
</html>